package com.videoaggre.zcl.ui.viewmodel

import androidx.lifecycle.MutableLiveData
import com.videoaggre.zcl.bean.AgefansDetails
import com.videoaggre.zcl.parse.impl.AgefansParse

class AgefansDetailsViewModel : BaseViewModel() {
    val mAgefansDetailsLiveData: MutableLiveData<AgefansDetails> = MutableLiveData()
    val mVideoPlayerLiveData: MutableLiveData<String> = MutableLiveData()
    fun parseDetails(html: String) {
        AgefansParse.parseDetails(html) { mAgefansDetailsLiveData.postValue(it) }
    }
}